repo: Introspect _sign_commit() and _verify_commit()
authorColin Walters <walters@verbum.org>
Mon, 23 Dec 2013 16:40:57 +0000 (11:40 -0500)
committerColin Walters <walters@verbum.org>
Mon, 23 Dec 2013 16:40:57 +0000 (11:40 -0500)
commit9adbc165e705bcefed8da0470b325e8b39d5edc4
tree4dfcb90541016dd6a3ff0439f348f8188e44b72c
parenta58d3d079c8bf31995e6af3ab406c93f4538c103
repo: Introspect _sign_commit() and _verify_commit()

We can't use #ifdef in the headers, since then g-ir-scanner won't pick
up the functions (unless we included config.h).  Let's instead always
have the symbols, but just set an error if we were built without
support for it, just like how pull works.
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h